home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Zone 0622
/
PCZONE0622.iso
/
Patches
/
Op Flash
/
OFPPatch.exe
/
OFPPatch_Upgrade_1_30.exe
/
0
/
RCDATA
/
ADD\TEMPLATES\1-10_T_TEAMFLAGFIGHT.ABEL\TIMING.SQS
< prev
next >
Wrap
Text File
|
2001-11-09
|
511b
|
29 lines
; Script for timing in the MP mission
; There are several triggers in the mission - condition ShowMe==xxxx (xxxx - time) with Hint "xxx minutes remaining"
? Param1 == 10000 : Exit
~1
_times = [3600, 1800, 1200, 600, 300, 120];
_i = -1;
#Again
_i=_i+1;
? _i == (count _times) : Exit
_j = _times select _i;
? Param1 < _j : goto "Again"
#Loop
@ Param1-time <= _j;
ShowMe=_j; PublicVariable "ShowMe";
? _i == (count _times) - 1 : Exit
_i=_i+1
_j = _times select _i
goto "Loop"